package com.yeyks.commonReference.utils;

import com.yeyks.hotel.dal.domain.*;

/**
 * 隐藏信息工具类
 */
public class ConfidentialOperationUtil {

    public static void dealRoomInfo(RoomInfo roomInfo){
        roomInfo.setBottomPrice(null);
        roomInfo.setVipDiscountPrice(null);
    }

    public static void dealRoomCalendarInfo(RoomCalendarInfo roomCalendarInfo){
        roomCalendarInfo.setBottomPrice(null);
    }

    public static void dealRoomCalendarVipInfo(RoomCalendarVipInfo roomCalendarVipInfo){
        roomCalendarVipInfo.setPurcPrice(null);
    }

    public static void dealRoomCalendarJipInfo(RoomCalendarJipInfo roomCalendarJipInfo){
        roomCalendarJipInfo.setPurcPrice(null);
    }

}
